From: robertl Date: Sun, 27 Jun 2010 18:28:16 +0000 (+0000) Subject: Tweak version check for 1.4.0 X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~42 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=c8033d60b888ead55981ce4d306a1dcf32c7924d;p=gpsbabel.git Tweak version check for 1.4.0 --- diff --git a/gui/preferences.cpp b/gui/preferences.cpp index 5366420e9..3c57f448d 100644 --- a/gui/preferences.cpp +++ b/gui/preferences.cpp @@ -41,6 +41,9 @@ Preferences::Preferences(QWidget* parent, QList& formatList, ui_.startupCheck->setChecked(bd_.startupVersionCheck); ui_.reportStatisticsCheck->setChecked(bd_.reportStatistics); ui_.ignoreVersionMismatchCheck->setChecked(bd_.ignoreVersionMismatch); + // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1. + if (VERSION == "1.4.1") + bd_.ignoreVersionMismatch = false; connect (ui_.buttonBox, SIGNAL(accepted()), this, SLOT(acceptClicked())); connect (ui_.buttonBox, SIGNAL(rejected()), this, SLOT(rejectClicked()));